#import <Foundation/Foundation.h>
typedef enum {
    KeyTypePublic = 0,
    KeyTypePrivate
}KeyType;
@interface DDRSAHandler : NSObject
+ (instancetype)dd_shareHandler;
- (BOOL)dd_importKeyWithType:(KeyType)type andPath:(NSString*)path;
- (BOOL)dd_importKeyWithType:(KeyType)type andkeyString:(NSString *)keyString;
- (BOOL)dd_verifyString:(NSString *)string withSign:(NSString *)signString;
- (BOOL)dd_verifyMD5String:(NSString *)string withSign:(NSString *)signString;
- (NSString *)dd_signString:(NSString *)string;
- (NSString *)dd_signMD5String:(NSString *)string;
- (NSString *)dd_md5:(NSString *)input;
- (NSString *)dd_encryptWithPublicKey:(NSString*)content;
- (NSString *)dd_decryptWithPrivatecKey:(NSString*)content;
+ (id)dd_rc4_dec:(NSString *)input key:(NSString *)key;
- (id)dd_rc4_dec:(NSString *)input key:(NSString *)key;
@end
